<template>
  <div>
    <div class="section">
      <div class="card">
        <div class="card-content">
          <form>注册新用户</form>
        </div>
        <footer class="card-footer">
          <p class="card-footer-item">
            <ZxBtn @click="goLogin" type="success">注册</ZxBtn>
          </p>
          <p class="card-footer-item">
            <ZxBtn @click="goLogin" type="info">取消</ZxBtn>
          </p>
        </footer>
      </div>
    </div>
  </div>
</template>

<script>
import ZxBtn from "../uiComps/ZxBtn";
export default {
  methods: {
    goLogin() {
      this.$router.push("/");
    }
  },
  components: {
    ZxBtn
  }
};
</script>

<style>
</style>
